import { h } from 'vue';
import { NAvatar } from 'naive-ui';
export const columns = [
  {
    title: '头像',
    key: 'avatar',
    width: 60,
    render(row) {
      return h(
        NAvatar,
        {
          src: row.avatar,
          round:true
        },
      );
    },
  },
  {
    title: '姓名',
    key: 'name',
  },
  {
    title: '账号',
    key: 'username',
  },
  {
    title: '操作人账号',
    key: 'createdBy',
  },
  {
    title: '锁定时间',
    key: 'lockTime',
  },
  {
    title: '解锁时间',
    key: 'unlockTime',
  },
  {
    title: '锁定原因',
    key: 'lockReason',
  },
];
